import { Dayjs } from "dayjs";

export interface CustomerGrpItem {
  customerGroupName?: string;
  descriptions?: string;
  customerGroupId?: string;
  tenantId?: string;
}

export interface CustomerItem {
  address?: string;
  _address?: string;
  contactPerson?: string;
  country?: string;
  customerGroupId?: string;
  customerName?: string;
  customerNo?: string;
  email?: string;
  fax?: string;
  industryId?: string;
  industry?: string;
  location?: LocationItem;
  phone?: string;
  region?: string;
  regionId?: string;
  remark?: string;
  tags?: Array<string>;
  website?: string;
  customerId?: string;
  createdOn?: string;
}
export interface LocationItem {
  latitude: string;
  longitude: string;
}

export interface CustomerReqItem {
  address: string;
  contactPerson: string;
  country: string;
  createdBy: string;
  createdOn: string;
  customerGroupId: string;
  customerId: string;
  customerName: string;
  customerNo: string;
  email: string;
  fax: string;
  industryId: string;
  isDeleted: number;
  location: string;
  phone: string;
  region: string;
  regionId: string;
  remark: string;
  searchKeywords: string;
  tags: string;
  tenantId: string;
  updatedBy: string;
  updatedOn: string;
}

export interface CustomerSearchModel {
  searchText?: string;
  customerGroupId?: string;
}
export interface MemberReq {
  customerEmail: string;
  customerId: string;
  gender: string;
  nickName: string;
  phone: string;
}

export interface MemberItem {
  createdOn?: string;
  customerEmail: string;
  customerId?: string;
  customerUserInfoId?: string;
  gender: string;
  nickName: string;
  phone: string;
  userId?: string;
}
